
package org.xteam.box2text.parser;

public abstract class BoxTokenNames implements IBoxTokens {

	private static java.util.Map<Integer, String> names = new java.util.HashMap<Integer, String>();
	
	static {
		names.put(IMPORT, "IMPORT");
		names.put(DOT, "DOT");
		names.put(LT, "LT");
		names.put(GT, "GT");
		names.put(RECL, "RECL");
		names.put(RECR, "RECR");
		names.put(EQUALS, "EQUALS");
		names.put(LBRT, "LBRT");
		names.put(RBRT, "RBRT");
		names.put(COMA, "COMA");
		names.put(LPAR, "LPAR");
		names.put(RPAR, "RPAR");
		names.put(CMDR, "CMDR");
		names.put(CMDL, "CMDL");
		names.put(ID, "ID");
		names.put(STRING, "STRING");
		names.put(INTEGER, "INTEGER");
	}

	public static String nameOf(int s) {
		return names.get(s);
	}
}
